package nc.uap.wfm.actorsgy;

import java.util.ArrayList;
import java.util.List;
import nc.bs.framework.common.InvocationInfoProxy;
import nc.uap.wfm.model.*;
import nc.uap.wfm.vo.WfmFormInfoCtx;

// Referenced classes of package nc.uap.wfm.actorsgy:
//            IVirtualRoleActor

public class ProInsStart
    implements IVirtualRoleActor
{

    public ProInsStart()
    {
    }

    public String[] getActors(WfmFormInfoCtx formVo, ProIns proIns, HumAct humAct, Task parentTask)
    {
        List list = new ArrayList();
        if(proIns != null)
        {
            list.add(proIns.getPk_starter());
        } else
        {
            String pk_user = InvocationInfoProxy.getInstance().getUserId();
            list.add(pk_user);
        }
        return (String[])list.toArray(new String[0]);
    }
}